package com.travelroute.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 华无夜
 * @since 2025-01-10
 */
@Getter
@Setter
@TableName("route_checkpoint")
public class RouteCheckpoint implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 路线ID，外键
     */
    private Integer routeId;

    /**
     * 打卡点ID，外键
     */
    private Integer checkpointId;

    /**
     * 打卡点在路线中的顺序
     */
    private String sequence;
}
